﻿@model GameSchool.Models.EditCourseViewModel

@{
    ViewBag.Title = "Edit Course | GameSchool";
    Layout = "~/Views/Shared/_LayoutTeacher.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<div class="mainSectionStuff">
<h2>Edit Course</h2>
    <p>This course has @Model.courseXP XP</p>
    
    <div class="tableSubtitle">Enter how many levels are in the course:
        @Html.TextBoxFor(model => model.numberOfLevels)
    </div>
    <p>
        <input type="submit" value="Save" />
    </p>
     <div  class="levelXP">
     <p>Each level has <span id="lXP"></span>XP</p>
     @Html.ActionLink("Edit Level", "LevelEdit", "Level")
    </div>
</div>
